<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Swagger\Annotations as SWG;

class SwaggerController extends Controller
{
    /**
     * @SWG\Swagger(
     *     schemes={"http","https"},
     *     host="api.host.com",
     *     basePath="/",
     *     @SWG\Info(
     *         version="1.0.0",
     *         title="新项目 API",
     *         description="新项目描述，新项目描述，新项目描述，新项目描述，新项目描述新项目描述新项目描述新项目描述新项目描述新项目描述",
     *         termsOfService="",
     *         @SWG\Contact(
     *             email="1105730947@qq.com"
     *         ),
     *         @SWG\License(
     *             name="Private License",
     *             url="URL to the license"
     *         )
     *     ),
     *     @SWG\Tag(name="Home", description="主页"),
     *     @SWG\Tag(name="User", description="用户"),
     *     @SWG\Tag(name="Role", description="角色"),
     *     @SWG\ExternalDocumentation(
     *         description="Find out more about my website",
     *         url="http..."
     *     ),
     *    @SWG\Definition(
     *       definition="errorModel",
     *       required={"status code", "message"},
     *       @SWG\Property(
     *           property="status code",
     *           type="integer",
     *           format="int32"
     *       ),
     *       @SWG\Property(
     *           property="message",
     *           type="string"
     *       )
     *   ),

     *   @SWG\Definition(
     *     definition="Login",
     *      @SWG\Property(
     *        property="useraccount",
     *        type="string"
     *      ),
     *      @SWG\Property(
     *         property="password",
     *         type="string"
     *      )
     *    ),
     *    @SWG\Definition(
     *       definition="logout",
     *       @SWG\Property(
     *           property="token",
     *           type="string"
     *       )
     *   ),
     * )
     */
}
